<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- 目录条，这里使用和 category-bar 同样的 css -->
<div id="category-bar" th:fragment="custom-tag">
    <div class="category-bar-items" id="category-bar-items">
        <div class="category-bar-item select" id="category-bar-home">
            <a href="/">首页</a>
        </div>

        <th:block th:each="customTag : ${theme.config.layout.navCustomTag}">
            <div class="category-bar-item"
                 th:each="tagItem : ${tagFinder.getByName(customTag.tag)}"
                 th:id="${tagItem.spec.displayName}">
                <a th:href="@{${tagItem.status.permalink}}" th:text="${tagItem.spec.displayName}"></a>
            </div>
        </th:block>

    </div>
    <a th:replace="~{modules/bar/more :: more}">更多</a>
</div>

</html>